﻿using System;
using InformaticaDiary.Common;
using System.Collections.Generic;
namespace InformaticaDiary.InformaticaDiaryDAL
{
    public interface IDataAccess
    {
        ExecutedResult Insert(long Id, CaseDetails objCD);
        ExecutedResult Update(long Id, CaseDetails objCD);
        ExecutedResult Login(LoginRequest objLoginRequest);
        ExecutedResult Delete(long Id);

        long Maxid(string strprint);
        long Maxid1();
        long Maxid2();

        List<SearchResult> DoSearch(SearchValue objSearchValue);
        CaseDetails GetCaseDetails(long CaseDetailsID);
        List<CaseType> GetCaseType(long casetypeid = 0);
        List<int> GetYear();
    }
}
